import React, { useEffect, useRef ,lazy,Suspense } from 'react'

const App = lazy(async () => import("app1/app-index"));

console.log("###App",App)

export default function app1() {

  const ref = useRef();
  
  useEffect(() => {
    //console.log("#mount",mount)
    //mount(ref.current);
  }, []);

  return (
    <>
      {/* <div className='app-one' ref={ ref }></div> */}
      <Suspense fallback="loading...">
        <App/>
      </Suspense>
    </>
  )
}